<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib tagdir="/WEB-INF/tags/common" prefix="common"%>
<html>
<head>
<jsp:include page="/common/meta.jsp"></jsp:include>
<title></title>
   <script type="text/javascript">
   function checkField(){
	   
   }
        </script>
</head>
<body>
<fieldset class="mainbody" >
<form:form id="addPlugForm" name="addPlugForm" commandName="plugDTO" action="${ctx }/app/main/addplug" onsubmit="checkField()" enctype="multipart/form-data">
<common:errorTable commandName="plugDTO"></common:errorTable>
<table width="100%">
<tr>
<td colspan="2">
<H3>添加新的插件需求</H3>
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td colspan="2" ><common:noteNeedSign/></td>
</tr>
<tr>
<td width="20%">插件名称<common:needSign/>:</td>
<td width="80%">
<form:input path="cpaName"/>
<common:errorSign path="cpaName"></common:errorSign>
</td>
</tr>
<tr>
	<form:hidden path="filePath"/>
	<td width="10%">上传文档<common:needSign/>:</td>
	<td width="80%"><input type="file" id="upFile" name="upFile" /></td>
</tr>
<tr>
<td>插件描述<common:needSign/>:</td>
<td>
<form:textarea path="infoDesc" cols="50" rows="5"/>
<common:errorSign path="infoDesc"></common:errorSign>
</td>
</tr>
<tr>
<td colspan="2"><b><U>注：新增项目的版本默认从1.0开始，此版本一经创建立即生效。</U></b></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="确定" />&nbsp;&nbsp;
<input type="button" onclick="clearForm(addPlugForm);" value="清除"/>
</td>
</tr>
</table>
</form:form>
</fieldset>
</body>
</html>